@color1: rgb(248, 248, 248);
@color2: rgb(179, 179, 179);
@color3: rgb(0, 175, 206);
@color4: rgb(225, 225, 225);
@color5: rgb(0, 175, 206);
@color6: rgb(240, 69, 69);

/*
.scorezone{
  margin-top: 50px;
}

.scorezone div{
  text-align: center;
  padding: 10px;
  font-size: 0.3rem;
  font-weight: 600;
}

.scorezone .green{
  color: #2cf40f;
}

.scorezone .red{
  color: #f4333c;
}*/

//

.title {
  font-size: 0.35rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;

  img {
    width: 0.6rem;
    vertical-align: text-top;
    margin-right: 0.2em;
  }
}

.container {

  .item {
    line-height: 1.5em;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;

    &.active {
      color: #00AFCE;
    }

    .label {
      border-radius: 10%;
      border: 1px solid #AAAAAA;
      color: #666666;
      width: 1.6em;
      height: 1.5em;
      display: inline-block;
      text-align: center;
      margin-right: 0.5em;

      &.circle {
        border-radius: 50%;
      }

      &.active {
        color: white;
        background-color: #00AFCE;
        border: none;
      }
    }

    .value {
      flex: 1;
    }

  }
}

.button {
  position: fixed;
  bottom: 0.3rem;
  height: 0.5rem;
  line-height: 0.5rem;
  width: 100%;
  display: flex;
  color: @color2;
  font-size: 0.3rem;

  .left {
    margin-left: 0.2rem;
    padding-left: 1em;
    padding-right: 0.5em;
    background-image: url("../assets/lastExam.png");
    background-size: 100% 100%;
    color: white;

    img {
      margin-right: 0.2rem;
    }
  }
  .right {
    margin-right: 0.2rem;
    padding-left: 0.5em;
    padding-right: 1em;
    background-image: url("../assets/nextExam.png");
    background-size: 100% 100%;
    color: white;
    img {
      margin-left: 0.2rem;
    }
  }

  .complete {
    flex: 1;
    text-align: center;

    img {
      width: 0.8em;
      margin-right: 0.1rem;
    }

    .current {
      color: rgba(0, 0, 0, 0.7);
    }
  }

}

.num {
  display: flex;
  align-items: center;
  background-color: #EDF6FB;
  height: 0.7rem;
  color: #666666;
  font-size: 0.3rem;

  .correct {
    margin-right: 0.8rem;
    margin-left: 0.3rem;
    flex: 1;

    img {
      width: 0.3rem;
      margin-right: 0.5em;
    }

    .label {
      margin-right: 0.1rem;
    }
    .text {
      color: @color3;
    }
  }

  .wrong {
    flex: 1;
    text-align: right;
    margin-right: 0.3rem;
    .label {
      margin-right: 0.1rem;
    }
    .text {
      color: rgb(240, 69, 69);
    }
  }

  .complete {
    margin-right: 0.3rem;

    .btn {
      font-size: 0.25rem;
      border-radius: 0.18rem;
      border: 1px solid #00AFCE;
      padding: 0.1em 0.6em;

      img {
        width: 0.21rem;
        vertical-align: middle;
        margin-right: 0.1rem;
      }
    }
  }

  .time {
    flex: 1;
    margin-left: 0.3rem;

    img {
      width: 0.23rem;
      margin-right: 0.1rem;
      vertical-align: baseline;
    }
  }

}

.btn {
  width: 2.8rem;
  height: 2em;
  line-height: 2em;
  font-size: 0.4rem;
  border-radius: 0.15rem;
  text-align: center;
  margin: auto;
  margin-top: 0.4rem;
}

.answerRight {
  .btn;
  color: @color5;
  border: 1px solid @color5;
  .icon {
    vertical-align: text-bottom;
    margin-right: 0.1rem;
  }
}

.answerThrong {
  .btn;
  color: @color6;
  border: 1px solid @color6;
  .icon {
    vertical-align: text-bottom;
    margin-right: 0.1rem;
  }
}

.answer {
  text-align: center;
  margin-top: 0.2rem;
}

/*

.modal{

  .btn{
    border-radius: 1rem;
    line-height: 2.2em;
    width: 3rem;
    margin: auto;

  }

  img{
    width: 0.25rem;
    vertical-align: text-bottom;
    margin-right: 0.1rem;
  }

  div:first-child{
    margin-top: 0.5rem;
  }

  .reload{
    .btn;
    background-color: @color5;
    color: white;
    margin-bottom: 0.2rem;
  }
  .reload1{
    .btn;
    border: 1px solid @color5;
    color: @color5;
    margin-bottom: 0.2rem;
    padding-left: 0.5rem;
  }
  .back{
    .btn;
    border: 1px solid #ddd;
    padding-left: 0.5rem;
  }
  .detail{
    .btn;
    color: white;
    background-color: @color5;
    margin-bottom: 0.2rem;
    padding-left: 0.5rem;
  }
}
*/

.submit {
  width: 3.5rem;
  line-height: 2.5em;
  color: white;
  border-radius: 0.5rem;
  margin: auto;
  margin-top: 0.5rem;
  text-align: center;
  background-color: @color5;
  font-size: 0.38rem;

  img {
    width: 0.45rem;
    vertical-align: text-bottom;
    margin-right: 0.1rem;
  }

}

.statistics {
  padding: 0.3rem;

  .head {
    font-size: 0.35rem;
  }
  .prompt {
    color: @color2;
    margin: 0.1rem 0 0.2rem 0;
  }

  hr {
    color: #eee;
    transform: scaleY(0.5);
  }

  .container {

    .topic {
      color: black;
      display: inline-block;
      width: 2em;
    }

    .section {
      height: 2em;
      line-height: 2em;
      margin: 0.2rem 0.2rem 0.2rem 0;
      padding: 0 0.2rem;
      vertical-align: middle;
      display: inline-block;
      text-align: center;
    }

    .right {
      .section;
      border: 1px solid #00CF67;
      color: #00CF67;
    }
    .wrong {
      .section;
      border: 1px solid #FDA734;
      color: #FDA734;
    }
    .noDo {
      .section;
      border: 1px solid #cccccc;
      color: #cccccc;
    }
  }
}

